package ooday003;

public  abstract class YuanGong {
    String name;
    int age;
    double wages;

    YuanGong(String name,int age,double wages){
        this.name=name;
        this.age=age;
        this.wages=wages;
    }
    void  upWork(){
        System.out.println(wages+"工资"+age+"岁的"+name+"正在上班打卡");

    }
    void downWork(){
        System.out.println(wages+"工资"+age+"岁的"+name+"正在下班打卡");
    }
    abstract void finalWork();



}
